package cn.wolfcode.crm.domain;

import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

@Setter
@Getter
public class SystemMenu {
    private Long id;

    private String text;

    private String url;

    //父菜单
    private SystemMenu parent;

    //关联的权限
    private Permission permission;

    //子菜单
    private List<SystemMenu> children = new ArrayList<>();

}